package com.xiaowen.wxpaytool;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component//骗骗IDE
@ConfigurationProperties(prefix = "wxpay")//配置前缀
public class WxPayProperties {
    private String appid;
    private String mchid;
    private String mchserialno;
    private String privatekeypemfilepath;
    private String apikey;
    private String apiv3key;
    private String certpath;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) throws Exception {
        this.appid = appid;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getMchserialno() {
        return mchserialno;
    }

    public void setMchserialno(String mchserialno) throws Exception {
        this.mchserialno = mchserialno;
    }

    public String getPrivatekeypemfilepath() {
        return privatekeypemfilepath;
    }

    public void setPrivatekeypemfilepath(String privatekeypemfilepath) {
        this.privatekeypemfilepath = privatekeypemfilepath;
    }

    public String getApikey() {
        return apikey;
    }

    public void setApikey(String apikey) {
        this.apikey = apikey;
    }

    public String getApiv3key() {
        return apiv3key;
    }

    public void setApiv3key(String apiv3key) throws Exception {
        this.apiv3key = apiv3key;
    }

    public String getCertpath() {
        return certpath;
    }

    public void setCertpath(String certpath) {
        this.certpath = certpath;
    }
}
